package cn.xo68.boot.auth.server.domain;


import java.util.Date;



/** 
 * OauthResource 实体
 * @author wuyy(16349023@qq.com)
 * @date 2018年08月28日 11:04:12
 *
 */
public class OauthResource implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;

	private String resourceId;
	private String parentId;
	private String clientId;
	private String resourceName;
	/**
	 * 资源地址
	 */
	private String url;
	/**
	 * 权限标识
	 */
	private String permission;
	/**
	 * 排序，越小越前
	 */
	private Integer orderValue;
	/**
	 * 资源类型，0菜单，1操作
	 */
	private Integer resourceType;
	private String operatorName;
	private String operatorId;
	private Date createTime;
	private Date updateTime;
	
	@Override
	public String toString(){
		return "resourceId:"+this.resourceId+","+"parentId:"+this.parentId+","+"resourceName:"+this.resourceName+","+"url:"+this.url+","+"permission:"+this.permission+","+"orderValue:"+this.orderValue+","+"resourceType:"+this.resourceType+","+"operator:"+this.operatorName+","+"operatorId:"+this.operatorId+","+"createTime:"+this.createTime+","+"updateTime:"+this.updateTime;
	}
	

	public String getResourceId() {
		return this.resourceId;
	}
	public void setResourceId(String value) {
		this.resourceId = value;
	}	

	public String getParentId() {
		return this.parentId;
	}
	public void setParentId(String value) {
		this.parentId = value;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getResourceName() {
		return this.resourceName;
	}
	public void setResourceName(String value) {
		this.resourceName = value;
	}	

	public String getUrl() {
		return this.url;
	}
	public void setUrl(String value) {
		this.url = value;
	}	

	public String getPermission() {
		return this.permission;
	}
	public void setPermission(String value) {
		this.permission = value;
	}	

	public Integer getOrderValue() {
		return this.orderValue;
	}
	public void setOrderValue(Integer value) {
		this.orderValue = value;
	}	

	public Integer getResourceType() {
		return this.resourceType;
	}
	public void setResourceType(Integer value) {
		this.resourceType = value;
	}	

	public String getOperatorName() {
		return this.operatorName;
	}
	public void setOperatorName(String value) {
		this.operatorName = value;
	}	

	public String getOperatorId() {
		return this.operatorId;
	}
	public void setOperatorId(String value) {
		this.operatorId = value;
	}	

	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateTime(Date value) {
		this.createTime = value;
	}	

	public Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateTime(Date value) {
		this.updateTime = value;
	}	
}